package com.imooc.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @program: sell
 * @description: 商品 、
 * @author: LT
 * @create: 2020-07-13 21:48
 **/

@Entity
@Data
public class ProductInfo {
    @Id
    private String  productId;

    /**名字/
     *
     */
    private String productName;
    //单价
    private BigDecimal productPrice;
    //库存
    private Integer productStock;
    //描述
    private String productDescription;
    //小图
    private String productIcon;
    //状态 0.正常；1 下架
    private Integer productStatus;
    //类目编号
    private Integer categoryType;

    public ProductInfo() {
    }
}